package com.tanhua.sso.service;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Slf4j
@Builder
public class Item {
    private String name;
    private int age;

    public void say(){
        log.debug("hhhh");
        log.info("aaaaa");
        log.warn("xxxx");
        log.error("yyyyy");
    }


    public static void main(String[] args) {
        Item zhangyi = Item.builder().name("张一").age(20).build();
        zhangyi.say();
    }
}
